﻿using System;
using System.Collections.Generic;
using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Linq;
using System.Text;

namespace Defero.Core
{
    public interface IUnitOfWork<TEntity>
    {
        void Insert(TEntity entity);
        void Delete(TEntity entity);
        void Save(TEntity entity);
        void Submit();
    }
}
